package com.zecan.blog.dao;

import com.zecan.blog.entity.Friend;

import java.util.List;

/**
 * @author zecan
 * @Description:
 * @InterfaceName: FriendMapper
 * @date 2022/12/18 13:53
 */
public interface FriendMapper {


    // 添加用户
    void addFriend(Integer sendAddUserId ,Integer addUserId,String date);


    // 获取用户的好友
    List<Friend> getUserFriendList(Integer userId);

    // 查找是否已经是好友了
    Integer getFriendIsExist(Integer addedUserId, Integer userId);
}
